Skip to content

Conversation

@satnaing
Copy link
Owner

Description

Only navigate to /500 error page in production environment to avoid disrupting developer experience during HMR reloads. Toast notification still shows in both environments for visibility.

Types of changes

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Others (any other types not listed above)

Checklist

Related Issue

Fixes #225

Only navigate to /500 error page in production environment to avoid
disrupting developer experience during HMR reloads. Toast notification
still shows in both environments for visibility.

Fixes #225
@netlify
Copy link

netlify bot commented Oct 20, 2025

Deploy Preview for shadcn-admin ready!

Name Link
🔨 Latest commit a5f423f
🔍 Latest deploy log https://app.netlify.com/projects/shadcn-admin/deploys/68f6444a4349c700084a3456
😎 Deploy Preview https://deploy-preview-240--shadcn-admin.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@satnaing satnaing merged commit eabc3ab into main Nov 6, 2025
5 checks passed
@satnaing satnaing deleted the fix/disable-500-redirect-in-dev branch November 6, 2025 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: No 500 Error with auto-reload

2 participants